<template>
    <div class="data-box">
        <div class="box-left">
            <left-page/>
        </div>
        <div class="box-right">
            <right-page/>
        </div>
    </div>
</template>

<script>
    import LeftPage from './components/left'
    import RightPage from './components/right'

    export default {
        components: {
            LeftPage,
            RightPage
        },
        data() {
            return {
                width: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth,
                height: window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
            }
        },
        mounted() {
        },
        methods: {}
    }
</script>

<style lang="scss" scoped>
    .data-box {
        position: relative;
        margin: -12px -10px;
        background-color: #F9F9F9;
        height: calc(100vh - 92px);
        display: flex;

        .box-left {
            width: 12rem;
            height: 98%;
            background: #ffffff;
            padding-left: 10px;
        }

        .box-right {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
    }
</style>
